//
//  NSDictionary+ZLCategory.h
//  ZLCategory
//
//  Created by zhaozl on 2022/3/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDictionary (ZLCategory)

/// JSON数据类型转换 NSDictionary -> NSData
- (NSData *)zl_JSONData;

/// JSON数据类型转换 NSDictionary -> NSString
- (NSString *)zl_JSONString;

/// 根据字典的key取出字典中对应的value值
/// @param key 字典的key
- (id)zl_safeObjectForKey:(id)key;

@end

NS_ASSUME_NONNULL_END
